/**
 * @author		Ben Layet
 * @version 	1.0
 * @date		24 Sep 2008
 */
package org.ignoramus.application.model;

import java.util.Observable;
import java.util.Observer;

/**
 * Object interested in ReviewCardEvent
 */
public abstract class ReviewCardListener implements Observer
{

	/**
	 * Called when the review card is modified.
	 * @param o the observable object
	 * @param arg extra information ignored.
	 */
	@Override
	public final void update(Observable o, Object arg)
	{
		updated((ReviewCard) o);
	}

	/**
	 * Called when the review card is modified.
	 * @param card the modified review card.
	 */
	public abstract void updated(ReviewCard card);

}
